<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width,initial-scale=1.0">
    <title>Test</title>
    <script type="module" src="./dist/domPoints.js"></script>
  </head>
  <body>
  <div>
    <script type="module">
      let dist = DomPoints.pointsDistance({x: 0, y: 0}, {x: 20, y: 20})
      console.log('dist: ', dist)
    </script>
  </div>
  </body>
</html>
